<?php

namespace App\Laravue\Models;

use Illuminate\Database\Eloquent\Model;

class contract extends Model
{
    //
    protected $guarded=[
        'recharge',
        'back_money',
        'created_at',
        'updated_at'
    ];

//    protected $with=[
//        'create_user'
//    ];

    public function create_user(){
        return $this->hasOne(User::class,'id','submituser');
    }
}
